client
Data structures generated from the eo-protocol XML specification.
Warning
- This subpackage should not be directly imported.
- Instead, import eolib.protocol.net.client (or the top-level
eolib).
WelcomeRequestClientPacket
Bases: Packet
Selected a character
Source code in src/eolib/protocol/_generated/net/client/welcome_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
character_id: int
property
writable
Note
- Value range is 0-4097152080.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/welcome_request_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/welcome_request_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_request_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of WelcomeRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
WelcomeRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_request_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of WelcomeRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
WelcomeRequestClientPacket |
WelcomeRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/welcome_request_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
WelcomeMsgClientPacket
Bases: Packet
Entering game
Source code in src/eolib/protocol/_generated/net/client/welcome_msg_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-16194276.
character_id: int
property
writable
Note
- Value range is 0-4097152080.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/welcome_msg_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/welcome_msg_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_msg_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of WelcomeMsgClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
WelcomeMsgClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_msg_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of WelcomeMsgClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
WelcomeMsgClientPacket |
WelcomeMsgClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/welcome_msg_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
WelcomeAgreeClientPacket
Bases: Packet
Requesting a file
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
file_type: FileType
property
writable
session_id: int
property
writable
Note
- Value range is 0-64008.
file_type_data: WelcomeAgreeClientPacket.FileTypeData
property
writable
WelcomeAgreeClientPacket.FileTypeData: Gets or sets the data associated with the file_type field.
FileTypeData = Union['WelcomeAgreeClientPacket.FileTypeDataEmf', 'WelcomeAgreeClientPacket.FileTypeDataEif', 'WelcomeAgreeClientPacket.FileTypeDataEnf', 'WelcomeAgreeClientPacket.FileTypeDataEsf', 'WelcomeAgreeClientPacket.FileTypeDataEcf', None]
class-attribute
instance-attribute
Data associated with different values of the file_type field.
FileTypeDataEmf
Data associated with file_type value FileType.Emf
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
file_id: int
property
writable
Note
- Value range is 0-64008.
serialize(writer, data)
staticmethod
Serializes an instance of WelcomeAgreeClientPacket.FileTypeDataEmf to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
FileTypeDataEmf
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 | |
deserialize(reader)
staticmethod
Deserializes an instance of WelcomeAgreeClientPacket.FileTypeDataEmf from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
FileTypeDataEmf
|
WelcomeAgreeClientPacket.FileTypeDataEmf: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 | |
FileTypeDataEif
Data associated with file_type value FileType.Eif
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
file_id: int
property
writable
Note
- Value range is 0-252.
serialize(writer, data)
staticmethod
Serializes an instance of WelcomeAgreeClientPacket.FileTypeDataEif to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
FileTypeDataEif
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 | |
deserialize(reader)
staticmethod
Deserializes an instance of WelcomeAgreeClientPacket.FileTypeDataEif from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
FileTypeDataEif
|
WelcomeAgreeClientPacket.FileTypeDataEif: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 | |
FileTypeDataEnf
Data associated with file_type value FileType.Enf
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
file_id: int
property
writable
Note
- Value range is 0-252.
serialize(writer, data)
staticmethod
Serializes an instance of WelcomeAgreeClientPacket.FileTypeDataEnf to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
FileTypeDataEnf
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 | |
deserialize(reader)
staticmethod
Deserializes an instance of WelcomeAgreeClientPacket.FileTypeDataEnf from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
FileTypeDataEnf
|
WelcomeAgreeClientPacket.FileTypeDataEnf: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 | |
FileTypeDataEsf
Data associated with file_type value FileType.Esf
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
file_id: int
property
writable
Note
- Value range is 0-252.
serialize(writer, data)
staticmethod
Serializes an instance of WelcomeAgreeClientPacket.FileTypeDataEsf to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
FileTypeDataEsf
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 | |
deserialize(reader)
staticmethod
Deserializes an instance of WelcomeAgreeClientPacket.FileTypeDataEsf from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
FileTypeDataEsf
|
WelcomeAgreeClientPacket.FileTypeDataEsf: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 | |
FileTypeDataEcf
Data associated with file_type value FileType.Ecf
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
file_id: int
property
writable
Note
- Value range is 0-252.
serialize(writer, data)
staticmethod
Serializes an instance of WelcomeAgreeClientPacket.FileTypeDataEcf to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
FileTypeDataEcf
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 | |
deserialize(reader)
staticmethod
Deserializes an instance of WelcomeAgreeClientPacket.FileTypeDataEcf from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
FileTypeDataEcf
|
WelcomeAgreeClientPacket.FileTypeDataEcf: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
69 70 71 72 73 74 75 76 77 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
79 80 81 82 83 84 85 86 87 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
89 90 91 92 93 94 95 96 | |
serialize(writer, data)
staticmethod
Serializes an instance of WelcomeAgreeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
WelcomeAgreeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | |
deserialize(reader)
staticmethod
Deserializes an instance of WelcomeAgreeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
WelcomeAgreeClientPacket |
WelcomeAgreeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 | |
WarpTakeClientPacket
Bases: Packet
Request to download a copy of the map
Source code in src/eolib/protocol/_generated/net/client/warp_take_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
map_id: int
property
writable
Note
- Value range is 0-64008.
session_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/warp_take_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/warp_take_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/warp_take_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of WarpTakeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
WarpTakeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/warp_take_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of WarpTakeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
WarpTakeClientPacket |
WarpTakeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/warp_take_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
WarpAcceptClientPacket
Bases: Packet
Accept a warp request from the server
Source code in src/eolib/protocol/_generated/net/client/warp_accept_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
map_id: int
property
writable
Note
- Value range is 0-64008.
session_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/warp_accept_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/warp_accept_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/warp_accept_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of WarpAcceptClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
WarpAcceptClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/warp_accept_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of WarpAcceptClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
WarpAcceptClientPacket |
WarpAcceptClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/warp_accept_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
WalkSpecClientPacket
Bases: Packet
Walking through a player
Source code in src/eolib/protocol/_generated/net/client/walk_spec_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
walk_action: WalkAction
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/walk_spec_client_packet.py
39 40 41 42 43 44 45 46 47 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/walk_spec_client_packet.py
49 50 51 52 53 54 55 56 57 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/walk_spec_client_packet.py
59 60 61 62 63 64 65 66 | |
serialize(writer, data)
staticmethod
Serializes an instance of WalkSpecClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
WalkSpecClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/walk_spec_client_packet.py
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | |
deserialize(reader)
staticmethod
Deserializes an instance of WalkSpecClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
WalkSpecClientPacket |
WalkSpecClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/walk_spec_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | |
WalkPlayerClientPacket
Bases: Packet
Walking
Source code in src/eolib/protocol/_generated/net/client/walk_player_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
walk_action: WalkAction
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/walk_player_client_packet.py
39 40 41 42 43 44 45 46 47 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/walk_player_client_packet.py
49 50 51 52 53 54 55 56 57 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/walk_player_client_packet.py
59 60 61 62 63 64 65 66 | |
serialize(writer, data)
staticmethod
Serializes an instance of WalkPlayerClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
WalkPlayerClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/walk_player_client_packet.py
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | |
deserialize(reader)
staticmethod
Deserializes an instance of WalkPlayerClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
WalkPlayerClientPacket |
WalkPlayerClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/walk_player_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | |
WalkAdminClientPacket
Bases: Packet
Walking with #nowall
Source code in src/eolib/protocol/_generated/net/client/walk_admin_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
walk_action: WalkAction
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/walk_admin_client_packet.py
39 40 41 42 43 44 45 46 47 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/walk_admin_client_packet.py
49 50 51 52 53 54 55 56 57 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/walk_admin_client_packet.py
59 60 61 62 63 64 65 66 | |
serialize(writer, data)
staticmethod
Serializes an instance of WalkAdminClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
WalkAdminClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/walk_admin_client_packet.py
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | |
deserialize(reader)
staticmethod
Deserializes an instance of WalkAdminClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
WalkAdminClientPacket |
WalkAdminClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/walk_admin_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | |
WalkAction
Common data between walk packets
Source code in src/eolib/protocol/_generated/net/client/walk_action.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
direction: Direction
property
writable
timestamp: int
property
writable
Note
- Value range is 0-16194276.
coords: Coords
property
writable
serialize(writer, data)
staticmethod
Serializes an instance of WalkAction to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
WalkAction
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/walk_action.py
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | |
deserialize(reader)
staticmethod
Deserializes an instance of WalkAction from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
WalkAction |
WalkAction
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/walk_action.py
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
TradeRequestClientPacket
Bases: Packet
Requesting a trade with another player
Source code in src/eolib/protocol/_generated/net/client/trade_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
player_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_request_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_request_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_request_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of TradeRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TradeRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_request_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | |
deserialize(reader)
staticmethod
Deserializes an instance of TradeRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TradeRequestClientPacket |
TradeRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/trade_request_client_packet.py
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | |
TradeRemoveClientPacket
Bases: Packet
Remove an item from the trade screen
Source code in src/eolib/protocol/_generated/net/client/trade_remove_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
item_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_remove_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_remove_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_remove_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of TradeRemoveClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TradeRemoveClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_remove_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of TradeRemoveClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TradeRemoveClientPacket |
TradeRemoveClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/trade_remove_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
TradeCloseClientPacket
Bases: Packet
Cancel the trade
Source code in src/eolib/protocol/_generated/net/client/trade_close_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_close_client_packet.py
28 29 30 31 32 33 34 35 36 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_close_client_packet.py
38 39 40 41 42 43 44 45 46 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_close_client_packet.py
48 49 50 51 52 53 54 55 | |
serialize(writer, data)
staticmethod
Serializes an instance of TradeCloseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TradeCloseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_close_client_packet.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
deserialize(reader)
staticmethod
Deserializes an instance of TradeCloseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TradeCloseClientPacket |
TradeCloseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/trade_close_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | |
TradeAgreeClientPacket
Bases: Packet
Mark trade as agreed
Source code in src/eolib/protocol/_generated/net/client/trade_agree_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
agree: bool
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_agree_client_packet.py
38 39 40 41 42 43 44 45 46 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_agree_client_packet.py
48 49 50 51 52 53 54 55 56 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_agree_client_packet.py
58 59 60 61 62 63 64 65 | |
serialize(writer, data)
staticmethod
Serializes an instance of TradeAgreeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TradeAgreeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_agree_client_packet.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
deserialize(reader)
staticmethod
Deserializes an instance of TradeAgreeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TradeAgreeClientPacket |
TradeAgreeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/trade_agree_client_packet.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
TradeAddClientPacket
Bases: Packet
Add an item to the trade screen
Source code in src/eolib/protocol/_generated/net/client/trade_add_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
add_item: Item
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_add_client_packet.py
39 40 41 42 43 44 45 46 47 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_add_client_packet.py
49 50 51 52 53 54 55 56 57 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_add_client_packet.py
59 60 61 62 63 64 65 66 | |
serialize(writer, data)
staticmethod
Serializes an instance of TradeAddClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TradeAddClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_add_client_packet.py
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | |
deserialize(reader)
staticmethod
Deserializes an instance of TradeAddClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TradeAddClientPacket |
TradeAddClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/trade_add_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | |
TradeAcceptClientPacket
Bases: Packet
Accepting a trade request
Source code in src/eolib/protocol/_generated/net/client/trade_accept_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
player_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_accept_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_accept_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_accept_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of TradeAcceptClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TradeAcceptClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_accept_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | |
deserialize(reader)
staticmethod
Deserializes an instance of TradeAcceptClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TradeAcceptClientPacket |
TradeAcceptClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/trade_accept_client_packet.py
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | |
TalkUseClientPacket
Bases: Packet
Public chat message - alias of TALK_REPORT (vestigial)
Source code in src/eolib/protocol/_generated/net/client/talk_use_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
message: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_use_client_packet.py
38 39 40 41 42 43 44 45 46 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_use_client_packet.py
48 49 50 51 52 53 54 55 56 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_use_client_packet.py
58 59 60 61 62 63 64 65 | |
serialize(writer, data)
staticmethod
Serializes an instance of TalkUseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TalkUseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_use_client_packet.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
deserialize(reader)
staticmethod
Deserializes an instance of TalkUseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TalkUseClientPacket |
TalkUseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/talk_use_client_packet.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
TalkTellClientPacket
Bases: Packet
Private chat message
Source code in src/eolib/protocol/_generated/net/client/talk_tell_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
name: str
property
writable
message: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_tell_client_packet.py
47 48 49 50 51 52 53 54 55 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_tell_client_packet.py
57 58 59 60 61 62 63 64 65 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_tell_client_packet.py
67 68 69 70 71 72 73 74 | |
serialize(writer, data)
staticmethod
Serializes an instance of TalkTellClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TalkTellClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_tell_client_packet.py
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of TalkTellClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TalkTellClientPacket |
TalkTellClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/talk_tell_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
TalkRequestClientPacket
Bases: Packet
Guild chat message
Source code in src/eolib/protocol/_generated/net/client/talk_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
message: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_request_client_packet.py
38 39 40 41 42 43 44 45 46 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_request_client_packet.py
48 49 50 51 52 53 54 55 56 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_request_client_packet.py
58 59 60 61 62 63 64 65 | |
serialize(writer, data)
staticmethod
Serializes an instance of TalkRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TalkRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_request_client_packet.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
deserialize(reader)
staticmethod
Deserializes an instance of TalkRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TalkRequestClientPacket |
TalkRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/talk_request_client_packet.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
TalkReportClientPacket
Bases: Packet
Public chat message
Source code in src/eolib/protocol/_generated/net/client/talk_report_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
message: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_report_client_packet.py
38 39 40 41 42 43 44 45 46 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_report_client_packet.py
48 49 50 51 52 53 54 55 56 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_report_client_packet.py
58 59 60 61 62 63 64 65 | |
serialize(writer, data)
staticmethod
Serializes an instance of TalkReportClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TalkReportClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_report_client_packet.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
deserialize(reader)
staticmethod
Deserializes an instance of TalkReportClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TalkReportClientPacket |
TalkReportClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/talk_report_client_packet.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
TalkPlayerClientPacket
Bases: Packet
Public chat message - alias of TALK_REPORT (vestigial)
Source code in src/eolib/protocol/_generated/net/client/talk_player_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
message: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_player_client_packet.py
38 39 40 41 42 43 44 45 46 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_player_client_packet.py
48 49 50 51 52 53 54 55 56 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_player_client_packet.py
58 59 60 61 62 63 64 65 | |
serialize(writer, data)
staticmethod
Serializes an instance of TalkPlayerClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TalkPlayerClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_player_client_packet.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
deserialize(reader)
staticmethod
Deserializes an instance of TalkPlayerClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TalkPlayerClientPacket |
TalkPlayerClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/talk_player_client_packet.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
TalkOpenClientPacket
Bases: Packet
Party chat message
Source code in src/eolib/protocol/_generated/net/client/talk_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
message: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_open_client_packet.py
38 39 40 41 42 43 44 45 46 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_open_client_packet.py
48 49 50 51 52 53 54 55 56 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_open_client_packet.py
58 59 60 61 62 63 64 65 | |
serialize(writer, data)
staticmethod
Serializes an instance of TalkOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TalkOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_open_client_packet.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
deserialize(reader)
staticmethod
Deserializes an instance of TalkOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TalkOpenClientPacket |
TalkOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/talk_open_client_packet.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
TalkMsgClientPacket
Bases: Packet
Global chat message
Source code in src/eolib/protocol/_generated/net/client/talk_msg_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
message: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_msg_client_packet.py
38 39 40 41 42 43 44 45 46 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_msg_client_packet.py
48 49 50 51 52 53 54 55 56 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_msg_client_packet.py
58 59 60 61 62 63 64 65 | |
serialize(writer, data)
staticmethod
Serializes an instance of TalkMsgClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TalkMsgClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_msg_client_packet.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
deserialize(reader)
staticmethod
Deserializes an instance of TalkMsgClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TalkMsgClientPacket |
TalkMsgClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/talk_msg_client_packet.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
TalkAnnounceClientPacket
Bases: Packet
Admin announcement
Source code in src/eolib/protocol/_generated/net/client/talk_announce_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
message: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_announce_client_packet.py
38 39 40 41 42 43 44 45 46 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_announce_client_packet.py
48 49 50 51 52 53 54 55 56 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_announce_client_packet.py
58 59 60 61 62 63 64 65 | |
serialize(writer, data)
staticmethod
Serializes an instance of TalkAnnounceClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TalkAnnounceClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_announce_client_packet.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
deserialize(reader)
staticmethod
Deserializes an instance of TalkAnnounceClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TalkAnnounceClientPacket |
TalkAnnounceClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/talk_announce_client_packet.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
TalkAdminClientPacket
Bases: Packet
Admin chat message
Source code in src/eolib/protocol/_generated/net/client/talk_admin_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
message: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_admin_client_packet.py
38 39 40 41 42 43 44 45 46 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_admin_client_packet.py
48 49 50 51 52 53 54 55 56 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_admin_client_packet.py
58 59 60 61 62 63 64 65 | |
serialize(writer, data)
staticmethod
Serializes an instance of TalkAdminClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TalkAdminClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_admin_client_packet.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
deserialize(reader)
staticmethod
Deserializes an instance of TalkAdminClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TalkAdminClientPacket |
TalkAdminClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/talk_admin_client_packet.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
StatSkillTakeClientPacket
Bases: Packet
Learning a skill from a skill master NPC
Source code in src/eolib/protocol/_generated/net/client/stat_skill_take_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-4097152080.
spell_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_take_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_take_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_take_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of StatSkillTakeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
StatSkillTakeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_take_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of StatSkillTakeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
StatSkillTakeClientPacket |
StatSkillTakeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_take_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
StatSkillRemoveClientPacket
Bases: Packet
Forgetting a skill at a skill master NPC
Source code in src/eolib/protocol/_generated/net/client/stat_skill_remove_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-4097152080.
spell_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_remove_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_remove_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_remove_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of StatSkillRemoveClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
StatSkillRemoveClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_remove_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of StatSkillRemoveClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
StatSkillRemoveClientPacket |
StatSkillRemoveClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_remove_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
StatSkillOpenClientPacket
Bases: Packet
Talking to a skill master NPC
Source code in src/eolib/protocol/_generated/net/client/stat_skill_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_index: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_open_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_open_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_open_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of StatSkillOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
StatSkillOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_open_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of StatSkillOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
StatSkillOpenClientPacket |
StatSkillOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_open_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
StatSkillJunkClientPacket
Bases: Packet
Resetting stats at a skill master
Source code in src/eolib/protocol/_generated/net/client/stat_skill_junk_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-4097152080.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_junk_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_junk_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_junk_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of StatSkillJunkClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
StatSkillJunkClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_junk_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of StatSkillJunkClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
StatSkillJunkClientPacket |
StatSkillJunkClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_junk_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
TrainType
Bases: IntEnum
Whether the player is spending a stat point or a skill point
Source code in src/eolib/protocol/_generated/net/client/train_type.py
9 10 11 12 13 14 | |
Stat = 1
class-attribute
instance-attribute
Skill = 2
class-attribute
instance-attribute
StatSkillAddClientPacket
Bases: Packet
Spending a stat point on a stat or skill
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
action_type: TrainType
property
writable
action_type_data: StatSkillAddClientPacket.ActionTypeData
property
writable
StatSkillAddClientPacket.ActionTypeData: Gets or sets the data associated with the action_type field.
ActionTypeData = Union['StatSkillAddClientPacket.ActionTypeDataStat', 'StatSkillAddClientPacket.ActionTypeDataSkill', None]
class-attribute
instance-attribute
Data associated with different values of the action_type field.
ActionTypeDataStat
Data associated with action_type value TrainType.Stat
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
stat_id: StatId
property
writable
serialize(writer, data)
staticmethod
Serializes an instance of StatSkillAddClientPacket.ActionTypeDataStat to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ActionTypeDataStat
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 | |
deserialize(reader)
staticmethod
Deserializes an instance of StatSkillAddClientPacket.ActionTypeDataStat from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
ActionTypeDataStat
|
StatSkillAddClientPacket.ActionTypeDataStat: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 | |
ActionTypeDataSkill
Data associated with action_type value TrainType.Skill
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
spell_id: int
property
writable
Note
- Value range is 0-64008.
serialize(writer, data)
staticmethod
Serializes an instance of StatSkillAddClientPacket.ActionTypeDataSkill to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ActionTypeDataSkill
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 | |
deserialize(reader)
staticmethod
Deserializes an instance of StatSkillAddClientPacket.ActionTypeDataSkill from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
ActionTypeDataSkill
|
StatSkillAddClientPacket.ActionTypeDataSkill: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
53 54 55 56 57 58 59 60 61 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
63 64 65 66 67 68 69 70 71 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
73 74 75 76 77 78 79 80 | |
serialize(writer, data)
staticmethod
Serializes an instance of StatSkillAddClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
StatSkillAddClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | |
deserialize(reader)
staticmethod
Deserializes an instance of StatSkillAddClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
StatSkillAddClientPacket |
StatSkillAddClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | |
StatId
Bases: IntEnum
Base character stat
Source code in src/eolib/protocol/_generated/net/client/stat_id.py
9 10 11 12 13 14 15 16 17 18 | |
Str = 1
class-attribute
instance-attribute
Int = 2
class-attribute
instance-attribute
Wis = 3
class-attribute
instance-attribute
Agi = 4
class-attribute
instance-attribute
Con = 5
class-attribute
instance-attribute
Cha = 6
class-attribute
instance-attribute
SpellUseClientPacket
Bases: Packet
Raise arm to cast a spell (vestigial)
Source code in src/eolib/protocol/_generated/net/client/spell_use_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
direction: Direction
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_use_client_packet.py
39 40 41 42 43 44 45 46 47 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_use_client_packet.py
49 50 51 52 53 54 55 56 57 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_use_client_packet.py
59 60 61 62 63 64 65 66 | |
serialize(writer, data)
staticmethod
Serializes an instance of SpellUseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
SpellUseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_use_client_packet.py
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | |
deserialize(reader)
staticmethod
Deserializes an instance of SpellUseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
SpellUseClientPacket |
SpellUseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/spell_use_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | |
SpellTargetSelfClientPacket
Bases: Packet
Self-targeted spell cast
Source code in src/eolib/protocol/_generated/net/client/spell_target_self_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
direction: Direction
property
writable
spell_id: int
property
writable
Note
- Value range is 0-64008.
timestamp: int
property
writable
Note
- Value range is 0-16194276.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_target_self_client_packet.py
73 74 75 76 77 78 79 80 81 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_target_self_client_packet.py
83 84 85 86 87 88 89 90 91 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_target_self_client_packet.py
93 94 95 96 97 98 99 100 | |
serialize(writer, data)
staticmethod
Serializes an instance of SpellTargetSelfClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
SpellTargetSelfClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_target_self_client_packet.py
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | |
deserialize(reader)
staticmethod
Deserializes an instance of SpellTargetSelfClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
SpellTargetSelfClientPacket |
SpellTargetSelfClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/spell_target_self_client_packet.py
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | |
SpellTargetType
Bases: IntEnum
Target type of a spell cast
Source code in src/eolib/protocol/_generated/net/client/spell_target_type.py
9 10 11 12 13 14 | |
Player = 1
class-attribute
instance-attribute
Npc = 2
class-attribute
instance-attribute
SpellTargetOtherClientPacket
Bases: Packet
Targeted spell cast
Source code in src/eolib/protocol/_generated/net/client/spell_target_other_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
target_type: SpellTargetType
property
writable
previous_timestamp: int
property
writable
Note
- Value range is 0-16194276.
spell_id: int
property
writable
Note
- Value range is 0-64008.
victim_id: int
property
writable
Note
- Value range is 0-64008.
timestamp: int
property
writable
Note
- Value range is 0-16194276.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_target_other_client_packet.py
107 108 109 110 111 112 113 114 115 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_target_other_client_packet.py
117 118 119 120 121 122 123 124 125 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_target_other_client_packet.py
127 128 129 130 131 132 133 134 | |
serialize(writer, data)
staticmethod
Serializes an instance of SpellTargetOtherClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
SpellTargetOtherClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_target_other_client_packet.py
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 | |
deserialize(reader)
staticmethod
Deserializes an instance of SpellTargetOtherClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
SpellTargetOtherClientPacket |
SpellTargetOtherClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/spell_target_other_client_packet.py
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | |
SpellTargetGroupClientPacket
Bases: Packet
Group spell cast
Source code in src/eolib/protocol/_generated/net/client/spell_target_group_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
spell_id: int
property
writable
Note
- Value range is 0-64008.
timestamp: int
property
writable
Note
- Value range is 0-16194276.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_target_group_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_target_group_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_target_group_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of SpellTargetGroupClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
SpellTargetGroupClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_target_group_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of SpellTargetGroupClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
SpellTargetGroupClientPacket |
SpellTargetGroupClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/spell_target_group_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
SpellRequestClientPacket
Bases: Packet
Begin spell chanting
Source code in src/eolib/protocol/_generated/net/client/spell_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
spell_id: int
property
writable
Note
- Value range is 0-64008.
timestamp: int
property
writable
Note
- Value range is 0-16194276.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_request_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_request_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_request_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of SpellRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
SpellRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_request_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of SpellRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
SpellRequestClientPacket |
SpellRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/spell_request_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
SitRequestClientPacket
Bases: Packet
Sit/stand request
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
sit_action: SitAction
property
writable
sit_action_data: SitRequestClientPacket.SitActionData
property
writable
SitRequestClientPacket.SitActionData: Gets or sets the data associated with the sit_action field.
SitActionData = Union['SitRequestClientPacket.SitActionDataSit', None]
class-attribute
instance-attribute
Data associated with different values of the sit_action field.
SitActionDataSit
Data associated with sit_action value SitAction.Sit
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
cursor_coords: Coords
property
writable
The coordinates of the map cursor
serialize(writer, data)
staticmethod
Serializes an instance of SitRequestClientPacket.SitActionDataSit to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
SitActionDataSit
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 | |
deserialize(reader)
staticmethod
Deserializes an instance of SitRequestClientPacket.SitActionDataSit from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
SitActionDataSit
|
SitRequestClientPacket.SitActionDataSit: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
53 54 55 56 57 58 59 60 61 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
63 64 65 66 67 68 69 70 71 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
73 74 75 76 77 78 79 80 | |
serialize(writer, data)
staticmethod
Serializes an instance of SitRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
SitRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | |
deserialize(reader)
staticmethod
Deserializes an instance of SitRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
SitRequestClientPacket |
SitRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
ShopSellClientPacket
Bases: Packet
Selling an item to a shop
Source code in src/eolib/protocol/_generated/net/client/shop_sell_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
sell_item: Item
property
writable
session_id: int
property
writable
Note
- Value range is 0-4097152080.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/shop_sell_client_packet.py
56 57 58 59 60 61 62 63 64 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/shop_sell_client_packet.py
66 67 68 69 70 71 72 73 74 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_sell_client_packet.py
76 77 78 79 80 81 82 83 | |
serialize(writer, data)
staticmethod
Serializes an instance of ShopSellClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ShopSellClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_sell_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
deserialize(reader)
staticmethod
Deserializes an instance of ShopSellClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ShopSellClientPacket |
ShopSellClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/shop_sell_client_packet.py
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | |
ShopOpenClientPacket
Bases: Packet
Talking to a shop NPC
Source code in src/eolib/protocol/_generated/net/client/shop_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_index: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/shop_open_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/shop_open_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_open_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of ShopOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ShopOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_open_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of ShopOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ShopOpenClientPacket |
ShopOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/shop_open_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
ShopCreateClientPacket
Bases: Packet
Crafting an item from a shop
Source code in src/eolib/protocol/_generated/net/client/shop_create_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
craft_item_id: int
property
writable
Note
- Value range is 0-64008.
session_id: int
property
writable
Note
- Value range is 0-4097152080.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/shop_create_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/shop_create_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_create_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of ShopCreateClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ShopCreateClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_create_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of ShopCreateClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ShopCreateClientPacket |
ShopCreateClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/shop_create_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
ShopBuyClientPacket
Bases: Packet
Purchasing an item from a shop
Source code in src/eolib/protocol/_generated/net/client/shop_buy_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
buy_item: Item
property
writable
session_id: int
property
writable
Note
- Value range is 0-4097152080.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/shop_buy_client_packet.py
56 57 58 59 60 61 62 63 64 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/shop_buy_client_packet.py
66 67 68 69 70 71 72 73 74 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_buy_client_packet.py
76 77 78 79 80 81 82 83 | |
serialize(writer, data)
staticmethod
Serializes an instance of ShopBuyClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ShopBuyClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_buy_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
deserialize(reader)
staticmethod
Deserializes an instance of ShopBuyClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ShopBuyClientPacket |
ShopBuyClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/shop_buy_client_packet.py
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | |
RefreshRequestClientPacket
Bases: Packet
Requesting new info about nearby objects
Source code in src/eolib/protocol/_generated/net/client/refresh_request_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/refresh_request_client_packet.py
28 29 30 31 32 33 34 35 36 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/refresh_request_client_packet.py
38 39 40 41 42 43 44 45 46 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/refresh_request_client_packet.py
48 49 50 51 52 53 54 55 | |
serialize(writer, data)
staticmethod
Serializes an instance of RefreshRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
RefreshRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/refresh_request_client_packet.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
deserialize(reader)
staticmethod
Deserializes an instance of RefreshRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
RefreshRequestClientPacket |
RefreshRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/refresh_request_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | |
RangeRequestClientPacket
Bases: Packet
Requesting info about nearby players and NPCs
Source code in src/eolib/protocol/_generated/net/client/range_request_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
player_ids: list[int]
property
writable
Note
- Element value range is 0-64008.
npc_indexes: list[int]
property
writable
Note
- Element value range is 0-252.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/range_request_client_packet.py
64 65 66 67 68 69 70 71 72 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/range_request_client_packet.py
74 75 76 77 78 79 80 81 82 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/range_request_client_packet.py
84 85 86 87 88 89 90 91 | |
serialize(writer, data)
staticmethod
Serializes an instance of RangeRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
RangeRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/range_request_client_packet.py
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | |
deserialize(reader)
staticmethod
Deserializes an instance of RangeRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
RangeRequestClientPacket |
'RangeRequestClientPacket'
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/range_request_client_packet.py
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | |
QuestUseClientPacket
Bases: Packet
Talking to a quest NPC
Source code in src/eolib/protocol/_generated/net/client/quest_use_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_index: int
property
writable
Note
- Value range is 0-64008.
quest_id: int
property
writable
Quest ID is 0 unless the player explicitly selects a quest from the quest switcher
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/quest_use_client_packet.py
67 68 69 70 71 72 73 74 75 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/quest_use_client_packet.py
77 78 79 80 81 82 83 84 85 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/quest_use_client_packet.py
87 88 89 90 91 92 93 94 | |
serialize(writer, data)
staticmethod
Serializes an instance of QuestUseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
QuestUseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/quest_use_client_packet.py
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
deserialize(reader)
staticmethod
Deserializes an instance of QuestUseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
QuestUseClientPacket |
QuestUseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/quest_use_client_packet.py
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | |
QuestPage
Bases: IntEnum
A page in the Quest menu
Source code in src/eolib/protocol/_generated/net/quest_page.py
9 10 11 12 13 14 | |
Progress = 1
class-attribute
instance-attribute
History = 2
class-attribute
instance-attribute
QuestListClientPacket
Bases: Packet
Quest history / progress request
Source code in src/eolib/protocol/_generated/net/client/quest_list_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
page: QuestPage
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/quest_list_client_packet.py
39 40 41 42 43 44 45 46 47 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/quest_list_client_packet.py
49 50 51 52 53 54 55 56 57 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/quest_list_client_packet.py
59 60 61 62 63 64 65 66 | |
serialize(writer, data)
staticmethod
Serializes an instance of QuestListClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
QuestListClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/quest_list_client_packet.py
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | |
deserialize(reader)
staticmethod
Deserializes an instance of QuestListClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
QuestListClientPacket |
QuestListClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/quest_list_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | |
QuestAcceptClientPacket
Bases: Packet
Response to a quest NPC dialog
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-64008.
dialog_id: int
property
writable
Note
- Value range is 0-64008.
quest_id: int
property
writable
Note
- Value range is 0-64008.
npc_index: int
property
writable
Note
- Value range is 0-64008.
reply_type: DialogReply
property
writable
reply_type_data: QuestAcceptClientPacket.ReplyTypeData
property
writable
QuestAcceptClientPacket.ReplyTypeData: Gets or sets the data associated with the reply_type field.
ReplyTypeData = Union['QuestAcceptClientPacket.ReplyTypeDataLink', None]
class-attribute
instance-attribute
Data associated with different values of the reply_type field.
ReplyTypeDataLink
Data associated with reply_type value DialogReply.Link
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
action: int
property
writable
Note
- Value range is 0-252.
serialize(writer, data)
staticmethod
Serializes an instance of QuestAcceptClientPacket.ReplyTypeDataLink to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ReplyTypeDataLink
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 | |
deserialize(reader)
staticmethod
Deserializes an instance of QuestAcceptClientPacket.ReplyTypeDataLink from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
ReplyTypeDataLink
|
QuestAcceptClientPacket.ReplyTypeDataLink: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
120 121 122 123 124 125 126 127 128 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
130 131 132 133 134 135 136 137 138 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
140 141 142 143 144 145 146 147 | |
serialize(writer, data)
staticmethod
Serializes an instance of QuestAcceptClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
QuestAcceptClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 | |
deserialize(reader)
staticmethod
Deserializes an instance of QuestAcceptClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
QuestAcceptClientPacket |
QuestAcceptClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | |
PriestUseClientPacket
Bases: Packet
Saying "I do" at a wedding
Source code in src/eolib/protocol/_generated/net/client/priest_use_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-4097152080.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/priest_use_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/priest_use_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_use_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of PriestUseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PriestUseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_use_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of PriestUseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PriestUseClientPacket |
PriestUseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/priest_use_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
PriestRequestClientPacket
Bases: Packet
Requesting marriage at a priest
Source code in src/eolib/protocol/_generated/net/client/priest_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-4097152080.
name: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/priest_request_client_packet.py
55 56 57 58 59 60 61 62 63 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/priest_request_client_packet.py
65 66 67 68 69 70 71 72 73 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_request_client_packet.py
75 76 77 78 79 80 81 82 | |
serialize(writer, data)
staticmethod
Serializes an instance of PriestRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PriestRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_request_client_packet.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | |
deserialize(reader)
staticmethod
Deserializes an instance of PriestRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PriestRequestClientPacket |
PriestRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/priest_request_client_packet.py
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | |
PriestOpenClientPacket
Bases: Packet
Talking to a priest NPC
Source code in src/eolib/protocol/_generated/net/client/priest_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_index: int
property
writable
Note
- Value range is 0-4097152080.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/priest_open_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/priest_open_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_open_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of PriestOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PriestOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_open_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of PriestOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PriestOpenClientPacket |
PriestOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/priest_open_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
PriestAcceptClientPacket
Bases: Packet
Accepting a marriage request
Source code in src/eolib/protocol/_generated/net/client/priest_accept_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/priest_accept_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/priest_accept_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_accept_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of PriestAcceptClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PriestAcceptClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_accept_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of PriestAcceptClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PriestAcceptClientPacket |
PriestAcceptClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/priest_accept_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
PlayersRequestClientPacket
Bases: Packet
Requesting a list of online players
Source code in src/eolib/protocol/_generated/net/client/players_request_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/players_request_client_packet.py
28 29 30 31 32 33 34 35 36 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/players_request_client_packet.py
38 39 40 41 42 43 44 45 46 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/players_request_client_packet.py
48 49 50 51 52 53 54 55 | |
serialize(writer, data)
staticmethod
Serializes an instance of PlayersRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PlayersRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/players_request_client_packet.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
deserialize(reader)
staticmethod
Deserializes an instance of PlayersRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PlayersRequestClientPacket |
PlayersRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/players_request_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | |
PlayersListClientPacket
Bases: Packet
Requesting a list of online friends
Source code in src/eolib/protocol/_generated/net/client/players_list_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/players_list_client_packet.py
28 29 30 31 32 33 34 35 36 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/players_list_client_packet.py
38 39 40 41 42 43 44 45 46 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/players_list_client_packet.py
48 49 50 51 52 53 54 55 | |
serialize(writer, data)
staticmethod
Serializes an instance of PlayersListClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PlayersListClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/players_list_client_packet.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
deserialize(reader)
staticmethod
Deserializes an instance of PlayersListClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PlayersListClientPacket |
PlayersListClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/players_list_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | |
PlayersAcceptClientPacket
Bases: Packet
find command request
Source code in src/eolib/protocol/_generated/net/client/players_accept_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
name: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/players_accept_client_packet.py
38 39 40 41 42 43 44 45 46 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/players_accept_client_packet.py
48 49 50 51 52 53 54 55 56 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/players_accept_client_packet.py
58 59 60 61 62 63 64 65 | |
serialize(writer, data)
staticmethod
Serializes an instance of PlayersAcceptClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PlayersAcceptClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/players_accept_client_packet.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
deserialize(reader)
staticmethod
Deserializes an instance of PlayersAcceptClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PlayersAcceptClientPacket |
PlayersAcceptClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/players_accept_client_packet.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
PlayerRangeRequestClientPacket
Bases: Packet
Requesting info about nearby players
Source code in src/eolib/protocol/_generated/net/client/player_range_request_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
player_ids: list[int]
property
writable
Note
- Element value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/player_range_request_client_packet.py
47 48 49 50 51 52 53 54 55 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/player_range_request_client_packet.py
57 58 59 60 61 62 63 64 65 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/player_range_request_client_packet.py
67 68 69 70 71 72 73 74 | |
serialize(writer, data)
staticmethod
Serializes an instance of PlayerRangeRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PlayerRangeRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/player_range_request_client_packet.py
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | |
deserialize(reader)
staticmethod
Deserializes an instance of PlayerRangeRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PlayerRangeRequestClientPacket |
'PlayerRangeRequestClientPacket'
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/player_range_request_client_packet.py
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | |
PartyTakeClientPacket
Bases: Packet
Request updated party info
Source code in src/eolib/protocol/_generated/net/client/party_take_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
members_count: int
property
writable
Note
- Value range is 0-252.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/party_take_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/party_take_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/party_take_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of PartyTakeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PartyTakeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/party_take_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of PartyTakeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PartyTakeClientPacket |
PartyTakeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/party_take_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
PartyRequestClientPacket
Bases: Packet
Send party invite / join request
Source code in src/eolib/protocol/_generated/net/client/party_request_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
request_type: PartyRequestType
property
writable
player_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/party_request_client_packet.py
56 57 58 59 60 61 62 63 64 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/party_request_client_packet.py
66 67 68 69 70 71 72 73 74 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/party_request_client_packet.py
76 77 78 79 80 81 82 83 | |
serialize(writer, data)
staticmethod
Serializes an instance of PartyRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PartyRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/party_request_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
deserialize(reader)
staticmethod
Deserializes an instance of PartyRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PartyRequestClientPacket |
PartyRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/party_request_client_packet.py
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | |
PartyRemoveClientPacket
Bases: Packet
Remove player from a party
Source code in src/eolib/protocol/_generated/net/client/party_remove_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
player_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/party_remove_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/party_remove_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/party_remove_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of PartyRemoveClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PartyRemoveClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/party_remove_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of PartyRemoveClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PartyRemoveClientPacket |
PartyRemoveClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/party_remove_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
PartyRequestType
Bases: IntEnum
Whether a player is requesting to join a party, or inviting someone to join theirs
Source code in src/eolib/protocol/_generated/net/party_request_type.py
9 10 11 12 13 14 | |
Join = 0
class-attribute
instance-attribute
Invite = 1
class-attribute
instance-attribute
PartyAcceptClientPacket
Bases: Packet
Accept party invite / join request
Source code in src/eolib/protocol/_generated/net/client/party_accept_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
request_type: PartyRequestType
property
writable
inviter_player_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/party_accept_client_packet.py
56 57 58 59 60 61 62 63 64 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/party_accept_client_packet.py
66 67 68 69 70 71 72 73 74 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/party_accept_client_packet.py
76 77 78 79 80 81 82 83 | |
serialize(writer, data)
staticmethod
Serializes an instance of PartyAcceptClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PartyAcceptClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/party_accept_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
deserialize(reader)
staticmethod
Deserializes an instance of PartyAcceptClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PartyAcceptClientPacket |
PartyAcceptClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/party_accept_client_packet.py
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | |
PaperdollRequestClientPacket
Bases: Packet
Request for a player's paperdoll
Source code in src/eolib/protocol/_generated/net/client/paperdoll_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
player_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_request_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_request_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_request_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of PaperdollRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PaperdollRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_request_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of PaperdollRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PaperdollRequestClientPacket |
PaperdollRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_request_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
PaperdollRemoveClientPacket
Bases: Packet
Unequipping an item
Source code in src/eolib/protocol/_generated/net/client/paperdoll_remove_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
item_id: int
property
writable
Note
- Value range is 0-64008.
sub_loc: int
property
writable
Note
- Value range is 0-252.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_remove_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_remove_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_remove_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of PaperdollRemoveClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PaperdollRemoveClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_remove_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of PaperdollRemoveClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PaperdollRemoveClientPacket |
PaperdollRemoveClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_remove_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
PaperdollAddClientPacket
Bases: Packet
Equipping an item
Source code in src/eolib/protocol/_generated/net/client/paperdoll_add_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
item_id: int
property
writable
Note
- Value range is 0-64008.
sub_loc: int
property
writable
Note
- Value range is 0-252.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_add_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_add_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_add_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of PaperdollAddClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PaperdollAddClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_add_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of PaperdollAddClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PaperdollAddClientPacket |
PaperdollAddClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_add_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
NpcRangeRequestClientPacket
Bases: Packet
Requesting info about nearby NPCs
Source code in src/eolib/protocol/_generated/net/client/npc_range_request_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_indexes: list[int]
property
writable
Note
- Length must be 252 or less.
- Element value range is 0-252.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/npc_range_request_client_packet.py
51 52 53 54 55 56 57 58 59 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/npc_range_request_client_packet.py
61 62 63 64 65 66 67 68 69 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/npc_range_request_client_packet.py
71 72 73 74 75 76 77 78 | |
serialize(writer, data)
staticmethod
Serializes an instance of NpcRangeRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
NpcRangeRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/npc_range_request_client_packet.py
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | |
deserialize(reader)
staticmethod
Deserializes an instance of NpcRangeRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
NpcRangeRequestClientPacket |
'NpcRangeRequestClientPacket'
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/npc_range_request_client_packet.py
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | |
MessagePingClientPacket
Bases: Packet
ping command request
Source code in src/eolib/protocol/_generated/net/client/message_ping_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/message_ping_client_packet.py
28 29 30 31 32 33 34 35 36 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/message_ping_client_packet.py
38 39 40 41 42 43 44 45 46 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/message_ping_client_packet.py
48 49 50 51 52 53 54 55 | |
serialize(writer, data)
staticmethod
Serializes an instance of MessagePingClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
MessagePingClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/message_ping_client_packet.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
deserialize(reader)
staticmethod
Deserializes an instance of MessagePingClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
MessagePingClientPacket |
MessagePingClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/message_ping_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | |
MarriageRequestType
Bases: IntEnum
Request type sent with MARRIAGE_REQUEST packet
Source code in src/eolib/protocol/_generated/net/client/marriage_request_type.py
9 10 11 12 13 14 | |
MarriageApproval = 1
class-attribute
instance-attribute
Divorce = 2
class-attribute
instance-attribute
MarriageRequestClientPacket
Bases: Packet
Requesting marriage approval
Source code in src/eolib/protocol/_generated/net/client/marriage_request_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
request_type: MarriageRequestType
property
writable
session_id: int
property
writable
Note
- Value range is 0-4097152080.
name: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/marriage_request_client_packet.py
65 66 67 68 69 70 71 72 73 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/marriage_request_client_packet.py
75 76 77 78 79 80 81 82 83 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/marriage_request_client_packet.py
85 86 87 88 89 90 91 92 | |
serialize(writer, data)
staticmethod
Serializes an instance of MarriageRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
MarriageRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/marriage_request_client_packet.py
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | |
deserialize(reader)
staticmethod
Deserializes an instance of MarriageRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
MarriageRequestClientPacket |
MarriageRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/marriage_request_client_packet.py
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | |
MarriageOpenClientPacket
Bases: Packet
Talking to a law NPC
Source code in src/eolib/protocol/_generated/net/client/marriage_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_index: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/marriage_open_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/marriage_open_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/marriage_open_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of MarriageOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
MarriageOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/marriage_open_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of MarriageOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
MarriageOpenClientPacket |
MarriageOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/marriage_open_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
LoginRequestClientPacket
Bases: Packet
Login request
Source code in src/eolib/protocol/_generated/net/client/login_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
username: str
property
writable
password: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/login_request_client_packet.py
47 48 49 50 51 52 53 54 55 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/login_request_client_packet.py
57 58 59 60 61 62 63 64 65 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/login_request_client_packet.py
67 68 69 70 71 72 73 74 | |
serialize(writer, data)
staticmethod
Serializes an instance of LoginRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
LoginRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/login_request_client_packet.py
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | |
deserialize(reader)
staticmethod
Deserializes an instance of LoginRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
LoginRequestClientPacket |
LoginRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/login_request_client_packet.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
LockerTakeClientPacket
Bases: Packet
Taking an item from a bank locker
Source code in src/eolib/protocol/_generated/net/client/locker_take_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
locker_coords: Coords
property
writable
take_item_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/locker_take_client_packet.py
56 57 58 59 60 61 62 63 64 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/locker_take_client_packet.py
66 67 68 69 70 71 72 73 74 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/locker_take_client_packet.py
76 77 78 79 80 81 82 83 | |
serialize(writer, data)
staticmethod
Serializes an instance of LockerTakeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
LockerTakeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/locker_take_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
deserialize(reader)
staticmethod
Deserializes an instance of LockerTakeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
LockerTakeClientPacket |
LockerTakeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/locker_take_client_packet.py
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | |
LockerOpenClientPacket
Bases: Packet
Opening a bank locker
Source code in src/eolib/protocol/_generated/net/client/locker_open_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
locker_coords: Coords
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/locker_open_client_packet.py
39 40 41 42 43 44 45 46 47 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/locker_open_client_packet.py
49 50 51 52 53 54 55 56 57 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/locker_open_client_packet.py
59 60 61 62 63 64 65 66 | |
serialize(writer, data)
staticmethod
Serializes an instance of LockerOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
LockerOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/locker_open_client_packet.py
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | |
deserialize(reader)
staticmethod
Deserializes an instance of LockerOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
LockerOpenClientPacket |
LockerOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/locker_open_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | |
LockerBuyClientPacket
Bases: Packet
Buying a locker space upgrade from a banker NPC
Source code in src/eolib/protocol/_generated/net/client/locker_buy_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/locker_buy_client_packet.py
28 29 30 31 32 33 34 35 36 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/locker_buy_client_packet.py
38 39 40 41 42 43 44 45 46 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/locker_buy_client_packet.py
48 49 50 51 52 53 54 55 | |
serialize(writer, data)
staticmethod
Serializes an instance of LockerBuyClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
LockerBuyClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/locker_buy_client_packet.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
deserialize(reader)
staticmethod
Deserializes an instance of LockerBuyClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
LockerBuyClientPacket |
LockerBuyClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/locker_buy_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | |
LockerAddClientPacket
Bases: Packet
Adding an item to a bank locker
Source code in src/eolib/protocol/_generated/net/client/locker_add_client_packet.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
locker_coords: Coords
property
writable
deposit_item: ThreeItem
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/locker_add_client_packet.py
49 50 51 52 53 54 55 56 57 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/locker_add_client_packet.py
59 60 61 62 63 64 65 66 67 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/locker_add_client_packet.py
69 70 71 72 73 74 75 76 | |
serialize(writer, data)
staticmethod
Serializes an instance of LockerAddClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
LockerAddClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/locker_add_client_packet.py
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |
deserialize(reader)
staticmethod
Deserializes an instance of LockerAddClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
LockerAddClientPacket |
LockerAddClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/locker_add_client_packet.py
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | |
JukeboxUseClientPacket
Bases: Packet
Playing a note with the bard skill
Source code in src/eolib/protocol/_generated/net/client/jukebox_use_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
instrument_id: int
property
writable
Note
- Value range is 0-252.
note_id: int
property
writable
Note
- Value range is 0-252.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/jukebox_use_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/jukebox_use_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/jukebox_use_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of JukeboxUseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
JukeboxUseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/jukebox_use_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of JukeboxUseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
JukeboxUseClientPacket |
JukeboxUseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/jukebox_use_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
JukeboxOpenClientPacket
Bases: Packet
Opening the jukebox listing
Source code in src/eolib/protocol/_generated/net/client/jukebox_open_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
coords: Coords
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/jukebox_open_client_packet.py
39 40 41 42 43 44 45 46 47 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/jukebox_open_client_packet.py
49 50 51 52 53 54 55 56 57 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/jukebox_open_client_packet.py
59 60 61 62 63 64 65 66 | |
serialize(writer, data)
staticmethod
Serializes an instance of JukeboxOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
JukeboxOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/jukebox_open_client_packet.py
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | |
deserialize(reader)
staticmethod
Deserializes an instance of JukeboxOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
JukeboxOpenClientPacket |
JukeboxOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/jukebox_open_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | |
JukeboxMsgClientPacket
Bases: Packet
Requesting a song on a jukebox
Source code in src/eolib/protocol/_generated/net/client/jukebox_msg_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
track_id: int
property
writable
This value is 0-indexed
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/jukebox_msg_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/jukebox_msg_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/jukebox_msg_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of JukeboxMsgClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
JukeboxMsgClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/jukebox_msg_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |
deserialize(reader)
staticmethod
Deserializes an instance of JukeboxMsgClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
JukeboxMsgClientPacket |
JukeboxMsgClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/jukebox_msg_client_packet.py
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
ItemUseClientPacket
Bases: Packet
Using an item
Source code in src/eolib/protocol/_generated/net/client/item_use_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
item_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/item_use_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/item_use_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/item_use_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of ItemUseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ItemUseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/item_use_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of ItemUseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ItemUseClientPacket |
ItemUseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/item_use_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
Item
An item reference with a 4-byte amount
Source code in src/eolib/protocol/_generated/net/item.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
id: int
property
writable
Note
- Value range is 0-64008.
amount: int
property
writable
Note
- Value range is 0-4097152080.
serialize(writer, data)
staticmethod
Serializes an instance of Item to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
Item
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/item.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | |
deserialize(reader)
staticmethod
Deserializes an instance of Item from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
Item |
Item
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/item.py
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | |
ItemJunkClientPacket
Bases: Packet
Junking items
Source code in src/eolib/protocol/_generated/net/client/item_junk_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
item: Item
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/item_junk_client_packet.py
39 40 41 42 43 44 45 46 47 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/item_junk_client_packet.py
49 50 51 52 53 54 55 56 57 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/item_junk_client_packet.py
59 60 61 62 63 64 65 66 | |
serialize(writer, data)
staticmethod
Serializes an instance of ItemJunkClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ItemJunkClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/item_junk_client_packet.py
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | |
deserialize(reader)
staticmethod
Deserializes an instance of ItemJunkClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ItemJunkClientPacket |
ItemJunkClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/item_junk_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | |
ItemGetClientPacket
Bases: Packet
Taking items from the ground
Source code in src/eolib/protocol/_generated/net/client/item_get_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
item_index: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/item_get_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/item_get_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/item_get_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of ItemGetClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ItemGetClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/item_get_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of ItemGetClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ItemGetClientPacket |
ItemGetClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/item_get_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
ItemDropClientPacket
Bases: Packet
Dropping items on the ground
Source code in src/eolib/protocol/_generated/net/client/item_drop_client_packet.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
item: ThreeItem
property
writable
coords: ByteCoords
property
writable
The official client sends 255 byte values for the coords if an item is dropped via the GUI button. 255 values here should be interpreted to mean "drop at current coords". Otherwise, the x and y fields contain encoded numbers that must be explicitly decoded to get the actual x and y values.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/item_drop_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/item_drop_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/item_drop_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of ItemDropClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ItemDropClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/item_drop_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of ItemDropClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ItemDropClientPacket |
ItemDropClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/item_drop_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
Version
Client version
Source code in src/eolib/protocol/_generated/net/version.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
major: int
property
writable
Note
- Value range is 0-252.
minor: int
property
writable
Note
- Value range is 0-252.
patch: int
property
writable
Note
- Value range is 0-252.
serialize(writer, data)
staticmethod
Serializes an instance of Version to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
Version
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/version.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | |
deserialize(reader)
staticmethod
Deserializes an instance of Version from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
Version |
Version
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/version.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | |
InitInitClientPacket
Bases: Packet
Connection initialization request. This packet is unencrypted.
Source code in src/eolib/protocol/_generated/net/client/init_init_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
challenge: int
property
writable
Note
- Value range is 0-16194276.
version: Version
property
writable
hdid: str
property
writable
Note
- Length must be 252 or less.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/init_init_client_packet.py
76 77 78 79 80 81 82 83 84 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/init_init_client_packet.py
86 87 88 89 90 91 92 93 94 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/init_init_client_packet.py
96 97 98 99 100 101 102 103 | |
serialize(writer, data)
staticmethod
Serializes an instance of InitInitClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
InitInitClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/init_init_client_packet.py
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
deserialize(reader)
staticmethod
Deserializes an instance of InitInitClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
InitInitClientPacket |
InitInitClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/init_init_client_packet.py
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | |
GuildUseClientPacket
Bases: Packet
Accepted a join request
Source code in src/eolib/protocol/_generated/net/client/guild_use_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
player_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_use_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_use_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_use_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildUseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildUseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_use_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildUseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildUseClientPacket |
GuildUseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_use_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
GuildTellClientPacket
Bases: Packet
Requested member list of a guild
Source code in src/eolib/protocol/_generated/net/client/guild_tell_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-4097152080.
guild_identity: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_tell_client_packet.py
55 56 57 58 59 60 61 62 63 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_tell_client_packet.py
65 66 67 68 69 70 71 72 73 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_tell_client_packet.py
75 76 77 78 79 80 81 82 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildTellClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildTellClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_tell_client_packet.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildTellClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildTellClientPacket |
GuildTellClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_tell_client_packet.py
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
GuildTakeClientPacket
Bases: Packet
Request guild description, rank list, or bank balance
Source code in src/eolib/protocol/_generated/net/client/guild_take_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-4097152080.
info_type: GuildInfoType
property
writable
guild_tag: str
property
writable
Note
- Length must be
3.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_take_client_packet.py
73 74 75 76 77 78 79 80 81 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_take_client_packet.py
83 84 85 86 87 88 89 90 91 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_take_client_packet.py
93 94 95 96 97 98 99 100 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildTakeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildTakeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_take_client_packet.py
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildTakeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildTakeClientPacket |
GuildTakeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_take_client_packet.py
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 | |
GuildRequestClientPacket
Bases: Packet
Requested to create a guild
Source code in src/eolib/protocol/_generated/net/client/guild_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-4097152080.
guild_tag: str
property
writable
guild_name: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_request_client_packet.py
64 65 66 67 68 69 70 71 72 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_request_client_packet.py
74 75 76 77 78 79 80 81 82 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_request_client_packet.py
84 85 86 87 88 89 90 91 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_request_client_packet.py
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildRequestClientPacket |
GuildRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_request_client_packet.py
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | |
GuildReportClientPacket
Bases: Packet
Requested general information of a guild
Source code in src/eolib/protocol/_generated/net/client/guild_report_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-4097152080.
guild_identity: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_report_client_packet.py
55 56 57 58 59 60 61 62 63 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_report_client_packet.py
65 66 67 68 69 70 71 72 73 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_report_client_packet.py
75 76 77 78 79 80 81 82 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildReportClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildReportClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_report_client_packet.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildReportClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildReportClientPacket |
GuildReportClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_report_client_packet.py
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
GuildRemoveClientPacket
Bases: Packet
Leave guild
Source code in src/eolib/protocol/_generated/net/client/guild_remove_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-4097152080.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_remove_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_remove_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_remove_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildRemoveClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildRemoveClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_remove_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildRemoveClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildRemoveClientPacket |
GuildRemoveClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_remove_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
GuildRankClientPacket
Bases: Packet
Update a member's rank
Source code in src/eolib/protocol/_generated/net/client/guild_rank_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-4097152080.
rank: int
property
writable
Note
- Value range is 0-252.
member_name: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_rank_client_packet.py
72 73 74 75 76 77 78 79 80 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_rank_client_packet.py
82 83 84 85 86 87 88 89 90 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_rank_client_packet.py
92 93 94 95 96 97 98 99 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildRankClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildRankClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_rank_client_packet.py
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildRankClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildRankClientPacket |
GuildRankClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_rank_client_packet.py
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | |
GuildPlayerClientPacket
Bases: Packet
Request to join a guild
Source code in src/eolib/protocol/_generated/net/client/guild_player_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-4097152080.
guild_tag: str
property
writable
recruiter_name: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_player_client_packet.py
64 65 66 67 68 69 70 71 72 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_player_client_packet.py
74 75 76 77 78 79 80 81 82 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_player_client_packet.py
84 85 86 87 88 89 90 91 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildPlayerClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildPlayerClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_player_client_packet.py
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildPlayerClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildPlayerClientPacket |
GuildPlayerClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_player_client_packet.py
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | |
GuildOpenClientPacket
Bases: Packet
Talking to a guild master NPC
Source code in src/eolib/protocol/_generated/net/client/guild_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_index: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_open_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_open_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_open_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_open_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildOpenClientPacket |
GuildOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_open_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
GuildKickClientPacket
Bases: Packet
Kick member from guild
Source code in src/eolib/protocol/_generated/net/client/guild_kick_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-4097152080.
member_name: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_kick_client_packet.py
55 56 57 58 59 60 61 62 63 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_kick_client_packet.py
65 66 67 68 69 70 71 72 73 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_kick_client_packet.py
75 76 77 78 79 80 81 82 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildKickClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildKickClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_kick_client_packet.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildKickClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildKickClientPacket |
GuildKickClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_kick_client_packet.py
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
GuildJunkClientPacket
Bases: Packet
Disband guild
Source code in src/eolib/protocol/_generated/net/client/guild_junk_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-4097152080.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_junk_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_junk_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_junk_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildJunkClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildJunkClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_junk_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildJunkClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildJunkClientPacket |
GuildJunkClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_junk_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
GuildCreateClientPacket
Bases: Packet
Final confirm creating a guild
Source code in src/eolib/protocol/_generated/net/client/guild_create_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-4097152080.
guild_tag: str
property
writable
guild_name: str
property
writable
description: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_create_client_packet.py
73 74 75 76 77 78 79 80 81 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_create_client_packet.py
83 84 85 86 87 88 89 90 91 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_create_client_packet.py
93 94 95 96 97 98 99 100 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildCreateClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildCreateClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_create_client_packet.py
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildCreateClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildCreateClientPacket |
GuildCreateClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_create_client_packet.py
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | |
GuildBuyClientPacket
Bases: Packet
Deposit gold in to the guild bank
Source code in src/eolib/protocol/_generated/net/client/guild_buy_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-4097152080.
gold_amount: int
property
writable
Note
- Value range is 0-4097152080.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_buy_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_buy_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_buy_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildBuyClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildBuyClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_buy_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildBuyClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildBuyClientPacket |
GuildBuyClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_buy_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
GuildInfoType
Bases: IntEnum
The type of guild info being interacted with
Source code in src/eolib/protocol/_generated/net/client/guild_info_type.py
9 10 11 12 13 14 15 | |
Description = 1
class-attribute
instance-attribute
Ranks = 2
class-attribute
instance-attribute
Bank = 3
class-attribute
instance-attribute
GuildAgreeClientPacket
Bases: Packet
Update the guild description or rank list
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-4097152080.
info_type: GuildInfoType
property
writable
info_type_data: 'GuildAgreeClientPacket.InfoTypeData'
property
writable
GuildAgreeClientPacket.InfoTypeData: Gets or sets the data associated with the info_type field.
InfoTypeData = Union['GuildAgreeClientPacket.InfoTypeDataDescription', 'GuildAgreeClientPacket.InfoTypeDataRanks', None]
class-attribute
instance-attribute
Data associated with different values of the info_type field.
InfoTypeDataDescription
Data associated with info_type value GuildInfoType.Description
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
description: str
property
writable
serialize(writer, data)
staticmethod
Serializes an instance of GuildAgreeClientPacket.InfoTypeDataDescription to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
InfoTypeDataDescription
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildAgreeClientPacket.InfoTypeDataDescription from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
'GuildAgreeClientPacket.InfoTypeDataDescription'
|
GuildAgreeClientPacket.InfoTypeDataDescription: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 | |
InfoTypeDataRanks
Data associated with info_type value GuildInfoType.Ranks
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
ranks: list[str]
property
writable
Note
- Length must be
9.
serialize(writer, data)
staticmethod
Serializes an instance of GuildAgreeClientPacket.InfoTypeDataRanks to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
InfoTypeDataRanks
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildAgreeClientPacket.InfoTypeDataRanks from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
'GuildAgreeClientPacket.InfoTypeDataRanks'
|
GuildAgreeClientPacket.InfoTypeDataRanks: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
70 71 72 73 74 75 76 77 78 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
80 81 82 83 84 85 86 87 88 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
90 91 92 93 94 95 96 97 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildAgreeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildAgreeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildAgreeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildAgreeClientPacket |
'GuildAgreeClientPacket'
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | |
GuildAcceptClientPacket
Bases: Packet
Accept pending guild creation invite
Source code in src/eolib/protocol/_generated/net/client/guild_accept_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
inviter_player_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_accept_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_accept_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_accept_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildAcceptClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildAcceptClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_accept_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildAcceptClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildAcceptClientPacket |
GuildAcceptClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_accept_client_packet.py
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | |
GlobalRemoveClientPacket
Bases: Packet
Enable whispers
Source code in src/eolib/protocol/_generated/net/client/global_remove_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/global_remove_client_packet.py
28 29 30 31 32 33 34 35 36 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/global_remove_client_packet.py
38 39 40 41 42 43 44 45 46 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/global_remove_client_packet.py
48 49 50 51 52 53 54 55 | |
serialize(writer, data)
staticmethod
Serializes an instance of GlobalRemoveClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GlobalRemoveClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/global_remove_client_packet.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
deserialize(reader)
staticmethod
Deserializes an instance of GlobalRemoveClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GlobalRemoveClientPacket |
GlobalRemoveClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/global_remove_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | |
GlobalPlayerClientPacket
Bases: Packet
Disable whispers
Source code in src/eolib/protocol/_generated/net/client/global_player_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/global_player_client_packet.py
28 29 30 31 32 33 34 35 36 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/global_player_client_packet.py
38 39 40 41 42 43 44 45 46 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/global_player_client_packet.py
48 49 50 51 52 53 54 55 | |
serialize(writer, data)
staticmethod
Serializes an instance of GlobalPlayerClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GlobalPlayerClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/global_player_client_packet.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
deserialize(reader)
staticmethod
Deserializes an instance of GlobalPlayerClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GlobalPlayerClientPacket |
GlobalPlayerClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/global_player_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | |
GlobalOpenClientPacket
Bases: Packet
Opened global tab
Source code in src/eolib/protocol/_generated/net/client/global_open_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/global_open_client_packet.py
28 29 30 31 32 33 34 35 36 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/global_open_client_packet.py
38 39 40 41 42 43 44 45 46 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/global_open_client_packet.py
48 49 50 51 52 53 54 55 | |
serialize(writer, data)
staticmethod
Serializes an instance of GlobalOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GlobalOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/global_open_client_packet.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
deserialize(reader)
staticmethod
Deserializes an instance of GlobalOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GlobalOpenClientPacket |
GlobalOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/global_open_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | |
GlobalCloseClientPacket
Bases: Packet
Closed global tab
Source code in src/eolib/protocol/_generated/net/client/global_close_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/global_close_client_packet.py
28 29 30 31 32 33 34 35 36 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/global_close_client_packet.py
38 39 40 41 42 43 44 45 46 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/global_close_client_packet.py
48 49 50 51 52 53 54 55 | |
serialize(writer, data)
staticmethod
Serializes an instance of GlobalCloseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GlobalCloseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/global_close_client_packet.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
deserialize(reader)
staticmethod
Deserializes an instance of GlobalCloseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GlobalCloseClientPacket |
GlobalCloseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/global_close_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | |
FileType
Bases: IntEnum
Data file type
Source code in src/eolib/protocol/_generated/net/client/file_type.py
9 10 11 12 13 14 15 16 17 | |
Emf = 1
class-attribute
instance-attribute
Eif = 2
class-attribute
instance-attribute
Enf = 3
class-attribute
instance-attribute
Esf = 4
class-attribute
instance-attribute
Ecf = 5
class-attribute
instance-attribute
FacePlayerClientPacket
Bases: Packet
Facing a direction
Source code in src/eolib/protocol/_generated/net/client/face_player_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
direction: Direction
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/face_player_client_packet.py
39 40 41 42 43 44 45 46 47 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/face_player_client_packet.py
49 50 51 52 53 54 55 56 57 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/face_player_client_packet.py
59 60 61 62 63 64 65 66 | |
serialize(writer, data)
staticmethod
Serializes an instance of FacePlayerClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
FacePlayerClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/face_player_client_packet.py
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | |
deserialize(reader)
staticmethod
Deserializes an instance of FacePlayerClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
FacePlayerClientPacket |
FacePlayerClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/face_player_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | |
Emote
Bases: IntEnum
Emote that can be played over a player's head
Source code in src/eolib/protocol/_generated/emote.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | |
Happy = 1
class-attribute
instance-attribute
Depressed = 2
class-attribute
instance-attribute
Sad = 3
class-attribute
instance-attribute
Angry = 4
class-attribute
instance-attribute
Confused = 5
class-attribute
instance-attribute
Surprised = 6
class-attribute
instance-attribute
Hearts = 7
class-attribute
instance-attribute
Moon = 8
class-attribute
instance-attribute
Suicidal = 9
class-attribute
instance-attribute
Embarrassed = 10
class-attribute
instance-attribute
Drunk = 11
class-attribute
instance-attribute
Trade = 12
class-attribute
instance-attribute
LevelUp = 13
class-attribute
instance-attribute
Playful = 14
class-attribute
instance-attribute
EmoteReportClientPacket
Bases: Packet
Doing an emote
Source code in src/eolib/protocol/_generated/net/client/emote_report_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
emote: Emote
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/emote_report_client_packet.py
39 40 41 42 43 44 45 46 47 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/emote_report_client_packet.py
49 50 51 52 53 54 55 56 57 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/emote_report_client_packet.py
59 60 61 62 63 64 65 66 | |
serialize(writer, data)
staticmethod
Serializes an instance of EmoteReportClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
EmoteReportClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/emote_report_client_packet.py
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | |
deserialize(reader)
staticmethod
Deserializes an instance of EmoteReportClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
EmoteReportClientPacket |
EmoteReportClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/emote_report_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | |
DoorOpenClientPacket
Bases: Packet
Opening a door
Source code in src/eolib/protocol/_generated/net/client/door_open_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
coords: Coords
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/door_open_client_packet.py
39 40 41 42 43 44 45 46 47 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/door_open_client_packet.py
49 50 51 52 53 54 55 56 57 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/door_open_client_packet.py
59 60 61 62 63 64 65 66 | |
serialize(writer, data)
staticmethod
Serializes an instance of DoorOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
DoorOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/door_open_client_packet.py
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | |
deserialize(reader)
staticmethod
Deserializes an instance of DoorOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
DoorOpenClientPacket |
DoorOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/door_open_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | |
ProtocolEnumMeta
Bases: EnumMeta
Source code in src/eolib/protocol/protocol_enum_meta.py
4 5 6 7 8 9 10 11 12 13 14 15 16 | |
__call__(value, names=None, *, module=None, qualname=None, type=None, start=1)
Source code in src/eolib/protocol/protocol_enum_meta.py
5 6 7 8 9 10 11 12 13 14 15 16 | |
DialogReply
Bases: IntEnum
Whether the player has clicked the OK button or a link in a quest dialog
Source code in src/eolib/protocol/_generated/net/client/dialog_reply.py
9 10 11 12 13 14 | |
Ok = 1
class-attribute
instance-attribute
Link = 2
class-attribute
instance-attribute
ConnectionPingClientPacket
Bases: Packet
Ping reply
Source code in src/eolib/protocol/_generated/net/client/connection_ping_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/connection_ping_client_packet.py
28 29 30 31 32 33 34 35 36 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/connection_ping_client_packet.py
38 39 40 41 42 43 44 45 46 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/connection_ping_client_packet.py
48 49 50 51 52 53 54 55 | |
serialize(writer, data)
staticmethod
Serializes an instance of ConnectionPingClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ConnectionPingClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/connection_ping_client_packet.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
deserialize(reader)
staticmethod
Deserializes an instance of ConnectionPingClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ConnectionPingClientPacket |
ConnectionPingClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/connection_ping_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | |
ConnectionAcceptClientPacket
Bases: Packet
Confirm initialization data
Source code in src/eolib/protocol/_generated/net/client/connection_accept_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
client_encryption_multiple: int
property
writable
Note
- Value range is 0-64008.
server_encryption_multiple: int
property
writable
Note
- Value range is 0-64008.
player_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/connection_accept_client_packet.py
80 81 82 83 84 85 86 87 88 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/connection_accept_client_packet.py
90 91 92 93 94 95 96 97 98 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/connection_accept_client_packet.py
100 101 102 103 104 105 106 107 | |
serialize(writer, data)
staticmethod
Serializes an instance of ConnectionAcceptClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ConnectionAcceptClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/connection_accept_client_packet.py
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | |
deserialize(reader)
staticmethod
Deserializes an instance of ConnectionAcceptClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ConnectionAcceptClientPacket |
ConnectionAcceptClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/connection_accept_client_packet.py
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | |
CitizenRequestClientPacket
Bases: Packet
Request sleeping at an inn
Source code in src/eolib/protocol/_generated/net/client/citizen_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-64008.
behavior_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_request_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_request_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_request_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of CitizenRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
CitizenRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_request_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of CitizenRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
CitizenRequestClientPacket |
CitizenRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/citizen_request_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
CitizenReplyClientPacket
Bases: Packet
Subscribing to a town
Source code in src/eolib/protocol/_generated/net/client/citizen_reply_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-64008.
behavior_id: int
property
writable
Note
- Value range is 0-64008.
answers: list[str]
property
writable
Note
- Length must be
3.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_reply_client_packet.py
81 82 83 84 85 86 87 88 89 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_reply_client_packet.py
91 92 93 94 95 96 97 98 99 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_reply_client_packet.py
101 102 103 104 105 106 107 108 | |
serialize(writer, data)
staticmethod
Serializes an instance of CitizenReplyClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
CitizenReplyClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_reply_client_packet.py
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | |
deserialize(reader)
staticmethod
Deserializes an instance of CitizenReplyClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
CitizenReplyClientPacket |
'CitizenReplyClientPacket'
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/citizen_reply_client_packet.py
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 | |
CitizenRemoveClientPacket
Bases: Packet
Giving up citizenship of a town
Source code in src/eolib/protocol/_generated/net/client/citizen_remove_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
behavior_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_remove_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_remove_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_remove_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of CitizenRemoveClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
CitizenRemoveClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_remove_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of CitizenRemoveClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
CitizenRemoveClientPacket |
CitizenRemoveClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/citizen_remove_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
CitizenOpenClientPacket
Bases: Packet
Talking to a citizenship NPC
Source code in src/eolib/protocol/_generated/net/client/citizen_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_index: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_open_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_open_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_open_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of CitizenOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
CitizenOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_open_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of CitizenOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
CitizenOpenClientPacket |
CitizenOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/citizen_open_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
CitizenAcceptClientPacket
Bases: Packet
Confirm sleeping at an inn
Source code in src/eolib/protocol/_generated/net/client/citizen_accept_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-64008.
behavior_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_accept_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_accept_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_accept_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of CitizenAcceptClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
CitizenAcceptClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_accept_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of CitizenAcceptClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
CitizenAcceptClientPacket |
CitizenAcceptClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/citizen_accept_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
ChestTakeClientPacket
Bases: Packet
Taking an item from a chest
Source code in src/eolib/protocol/_generated/net/client/chest_take_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
coords: Coords
property
writable
take_item_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/chest_take_client_packet.py
56 57 58 59 60 61 62 63 64 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/chest_take_client_packet.py
66 67 68 69 70 71 72 73 74 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/chest_take_client_packet.py
76 77 78 79 80 81 82 83 | |
serialize(writer, data)
staticmethod
Serializes an instance of ChestTakeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ChestTakeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/chest_take_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
deserialize(reader)
staticmethod
Deserializes an instance of ChestTakeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ChestTakeClientPacket |
ChestTakeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/chest_take_client_packet.py
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | |
ChestOpenClientPacket
Bases: Packet
Opening a chest
Source code in src/eolib/protocol/_generated/net/client/chest_open_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
coords: Coords
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/chest_open_client_packet.py
39 40 41 42 43 44 45 46 47 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/chest_open_client_packet.py
49 50 51 52 53 54 55 56 57 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/chest_open_client_packet.py
59 60 61 62 63 64 65 66 | |
serialize(writer, data)
staticmethod
Serializes an instance of ChestOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ChestOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/chest_open_client_packet.py
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | |
deserialize(reader)
staticmethod
Deserializes an instance of ChestOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ChestOpenClientPacket |
ChestOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/chest_open_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | |
ThreeItem
An item reference with a 3-byte amount. Used for shops, lockers, and various item transfers.
Source code in src/eolib/protocol/_generated/net/three_item.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
id: int
property
writable
Note
- Value range is 0-64008.
amount: int
property
writable
Note
- Value range is 0-16194276.
serialize(writer, data)
staticmethod
Serializes an instance of ThreeItem to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ThreeItem
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/three_item.py
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | |
deserialize(reader)
staticmethod
Deserializes an instance of ThreeItem from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ThreeItem |
ThreeItem
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/three_item.py
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | |
ChestAddClientPacket
Bases: Packet
Placing an item in to a chest
Source code in src/eolib/protocol/_generated/net/client/chest_add_client_packet.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
coords: Coords
property
writable
add_item: ThreeItem
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/chest_add_client_packet.py
49 50 51 52 53 54 55 56 57 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/chest_add_client_packet.py
59 60 61 62 63 64 65 66 67 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/chest_add_client_packet.py
69 70 71 72 73 74 75 76 | |
serialize(writer, data)
staticmethod
Serializes an instance of ChestAddClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ChestAddClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/chest_add_client_packet.py
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |
deserialize(reader)
staticmethod
Deserializes an instance of ChestAddClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ChestAddClientPacket |
ChestAddClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/chest_add_client_packet.py
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | |
CharacterTakeClientPacket
Bases: Packet
Request to delete a character from an account
Source code in src/eolib/protocol/_generated/net/client/character_take_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
character_id: int
property
writable
Note
- Value range is 0-4097152080.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/character_take_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/character_take_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/character_take_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of CharacterTakeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
CharacterTakeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/character_take_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of CharacterTakeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
CharacterTakeClientPacket |
CharacterTakeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/character_take_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
CharacterRequestClientPacket
Bases: Packet
Request to create a character
Source code in src/eolib/protocol/_generated/net/client/character_request_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
request_string: str
property
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/character_request_client_packet.py
33 34 35 36 37 38 39 40 41 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/character_request_client_packet.py
43 44 45 46 47 48 49 50 51 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/character_request_client_packet.py
53 54 55 56 57 58 59 60 | |
serialize(writer, data)
staticmethod
Serializes an instance of CharacterRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
CharacterRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/character_request_client_packet.py
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | |
deserialize(reader)
staticmethod
Deserializes an instance of CharacterRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
CharacterRequestClientPacket |
CharacterRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/character_request_client_packet.py
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | |
CharacterRemoveClientPacket
Bases: Packet
Confirm deleting character from an account
Source code in src/eolib/protocol/_generated/net/client/character_remove_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-64008.
character_id: int
property
writable
Note
- Value range is 0-4097152080.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/character_remove_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/character_remove_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/character_remove_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of CharacterRemoveClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
CharacterRemoveClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/character_remove_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of CharacterRemoveClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
CharacterRemoveClientPacket |
CharacterRemoveClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/character_remove_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
Gender
Bases: IntEnum
The gender of a player
Source code in src/eolib/protocol/_generated/gender.py
9 10 11 12 13 14 | |
Female = 0
class-attribute
instance-attribute
Male = 1
class-attribute
instance-attribute
CharacterCreateClientPacket
Bases: Packet
Confirm creating a character
Source code in src/eolib/protocol/_generated/net/client/character_create_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-64008.
gender: Gender
property
writable
hair_style: int
property
writable
Note
- Value range is 0-64008.
hair_color: int
property
writable
Note
- Value range is 0-64008.
skin: int
property
writable
Note
- Value range is 0-64008.
name: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/character_create_client_packet.py
116 117 118 119 120 121 122 123 124 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/character_create_client_packet.py
126 127 128 129 130 131 132 133 134 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/character_create_client_packet.py
136 137 138 139 140 141 142 143 | |
serialize(writer, data)
staticmethod
Serializes an instance of CharacterCreateClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
CharacterCreateClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/character_create_client_packet.py
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 | |
deserialize(reader)
staticmethod
Deserializes an instance of CharacterCreateClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
CharacterCreateClientPacket |
CharacterCreateClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/character_create_client_packet.py
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 | |
Coords
Map coordinates
Source code in src/eolib/protocol/_generated/coords.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
x: int
property
writable
Note
- Value range is 0-252.
y: int
property
writable
Note
- Value range is 0-252.
serialize(writer, data)
staticmethod
Serializes an instance of Coords to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
Coords
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/coords.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | |
deserialize(reader)
staticmethod
Deserializes an instance of Coords from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
Coords |
Coords
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/coords.py
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | |
SitAction
Bases: IntEnum
Whether the player wants to sit or stand
Source code in src/eolib/protocol/_generated/net/client/sit_action.py
9 10 11 12 13 14 | |
Sit = 1
class-attribute
instance-attribute
Stand = 2
class-attribute
instance-attribute
ChairRequestClientPacket
Bases: Packet
Sitting on a chair
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
sit_action: SitAction
property
writable
sit_action_data: ChairRequestClientPacket.SitActionData
property
writable
ChairRequestClientPacket.SitActionData: Gets or sets the data associated with the sit_action field.
SitActionData = Union['ChairRequestClientPacket.SitActionDataSit', None]
class-attribute
instance-attribute
Data associated with different values of the sit_action field.
SitActionDataSit
Data associated with sit_action value SitAction.Sit
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
coords: Coords
property
writable
serialize(writer, data)
staticmethod
Serializes an instance of ChairRequestClientPacket.SitActionDataSit to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
SitActionDataSit
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | |
deserialize(reader)
staticmethod
Deserializes an instance of ChairRequestClientPacket.SitActionDataSit from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
SitActionDataSit
|
ChairRequestClientPacket.SitActionDataSit: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
53 54 55 56 57 58 59 60 61 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
63 64 65 66 67 68 69 70 71 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
73 74 75 76 77 78 79 80 | |
serialize(writer, data)
staticmethod
Serializes an instance of ChairRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ChairRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | |
deserialize(reader)
staticmethod
Deserializes an instance of ChairRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ChairRequestClientPacket |
ChairRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
ByteCoords
Map coordinates with raw 1-byte values
Source code in src/eolib/protocol/_generated/net/client/byte_coords.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
x: int
property
writable
Note
- Value range is 0-255.
y: int
property
writable
Note
- Value range is 0-255.
serialize(writer, data)
staticmethod
Serializes an instance of ByteCoords to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ByteCoords
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/byte_coords.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | |
deserialize(reader)
staticmethod
Deserializes an instance of ByteCoords from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ByteCoords |
ByteCoords
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/byte_coords.py
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | |
BookRequestClientPacket
Bases: Packet
Request for a player's book
Source code in src/eolib/protocol/_generated/net/client/book_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
player_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/book_request_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/book_request_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/book_request_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of BookRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BookRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/book_request_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of BookRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BookRequestClientPacket |
BookRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/book_request_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
BoardTakeClientPacket
Bases: Packet
Reading a post on a town board
Source code in src/eolib/protocol/_generated/net/client/board_take_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
board_id: int
property
writable
Note
- Value range is 0-64008.
post_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/board_take_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/board_take_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/board_take_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of BoardTakeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BoardTakeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/board_take_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of BoardTakeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BoardTakeClientPacket |
BoardTakeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/board_take_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
BoardRemoveClientPacket
Bases: Packet
Removing a post from a town board
Source code in src/eolib/protocol/_generated/net/client/board_remove_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
board_id: int
property
writable
Note
- Value range is 0-64008.
post_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/board_remove_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/board_remove_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/board_remove_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of BoardRemoveClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BoardRemoveClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/board_remove_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of BoardRemoveClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BoardRemoveClientPacket |
BoardRemoveClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/board_remove_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
BoardOpenClientPacket
Bases: Packet
Opening a town board
Source code in src/eolib/protocol/_generated/net/client/board_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
board_id: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/board_open_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/board_open_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/board_open_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of BoardOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BoardOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/board_open_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of BoardOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BoardOpenClientPacket |
BoardOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/board_open_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
BoardCreateClientPacket
Bases: Packet
Posting a new message to a town board
Source code in src/eolib/protocol/_generated/net/client/board_create_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
board_id: int
property
writable
Note
- Value range is 0-64008.
post_subject: str
property
writable
post_body: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/board_create_client_packet.py
64 65 66 67 68 69 70 71 72 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/board_create_client_packet.py
74 75 76 77 78 79 80 81 82 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/board_create_client_packet.py
84 85 86 87 88 89 90 91 | |
serialize(writer, data)
staticmethod
Serializes an instance of BoardCreateClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BoardCreateClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/board_create_client_packet.py
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
deserialize(reader)
staticmethod
Deserializes an instance of BoardCreateClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BoardCreateClientPacket |
BoardCreateClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/board_create_client_packet.py
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | |
BarberOpenClientPacket
Bases: Packet
Talking to a barber NPC
Source code in src/eolib/protocol/_generated/net/client/barber_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_index: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/barber_open_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/barber_open_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/barber_open_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of BarberOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BarberOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/barber_open_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of BarberOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BarberOpenClientPacket |
BarberOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/barber_open_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
BarberBuyClientPacket
Bases: Packet
Purchasing a hair-style
Source code in src/eolib/protocol/_generated/net/client/barber_buy_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
hair_style: int
property
writable
Note
- Value range is 0-252.
hair_color: int
property
writable
Note
- Value range is 0-252.
session_id: int
property
writable
Note
- Value range is 0-4097152080.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/barber_buy_client_packet.py
80 81 82 83 84 85 86 87 88 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/barber_buy_client_packet.py
90 91 92 93 94 95 96 97 98 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/barber_buy_client_packet.py
100 101 102 103 104 105 106 107 | |
serialize(writer, data)
staticmethod
Serializes an instance of BarberBuyClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BarberBuyClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/barber_buy_client_packet.py
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | |
deserialize(reader)
staticmethod
Deserializes an instance of BarberBuyClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BarberBuyClientPacket |
BarberBuyClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/barber_buy_client_packet.py
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | |
BankTakeClientPacket
Bases: Packet
Withdrawing gold
Source code in src/eolib/protocol/_generated/net/client/bank_take_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
amount: int
property
writable
Note
- Value range is 0-4097152080.
session_id: int
property
writable
Note
- Value range is 0-16194276.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/bank_take_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/bank_take_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/bank_take_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of BankTakeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BankTakeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/bank_take_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of BankTakeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BankTakeClientPacket |
BankTakeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/bank_take_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
BankOpenClientPacket
Bases: Packet
Talked to a banker NPC
Source code in src/eolib/protocol/_generated/net/client/bank_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_index: int
property
writable
Note
- Value range is 0-64008.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/bank_open_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/bank_open_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/bank_open_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of BankOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BankOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/bank_open_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of BankOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BankOpenClientPacket |
BankOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/bank_open_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
BankAddClientPacket
Bases: Packet
Depositing gold
Source code in src/eolib/protocol/_generated/net/client/bank_add_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
amount: int
property
writable
Note
- Value range is 0-4097152080.
session_id: int
property
writable
Note
- Value range is 0-16194276.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/bank_add_client_packet.py
63 64 65 66 67 68 69 70 71 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/bank_add_client_packet.py
73 74 75 76 77 78 79 80 81 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/bank_add_client_packet.py
83 84 85 86 87 88 89 90 | |
serialize(writer, data)
staticmethod
Serializes an instance of BankAddClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BankAddClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/bank_add_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of BankAddClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BankAddClientPacket |
BankAddClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/bank_add_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | |
Direction
Bases: IntEnum
The direction a player or NPC is facing
Source code in src/eolib/protocol/_generated/direction.py
9 10 11 12 13 14 15 16 | |
Down = 0
class-attribute
instance-attribute
Left = 1
class-attribute
instance-attribute
Up = 2
class-attribute
instance-attribute
Right = 3
class-attribute
instance-attribute
AttackUseClientPacket
Bases: Packet
Attacking
Source code in src/eolib/protocol/_generated/net/client/attack_use_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
direction: Direction
property
writable
timestamp: int
property
writable
Note
- Value range is 0-16194276.
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/attack_use_client_packet.py
56 57 58 59 60 61 62 63 64 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/attack_use_client_packet.py
66 67 68 69 70 71 72 73 74 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/attack_use_client_packet.py
76 77 78 79 80 81 82 83 | |
serialize(writer, data)
staticmethod
Serializes an instance of AttackUseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
AttackUseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/attack_use_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
deserialize(reader)
staticmethod
Deserializes an instance of AttackUseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
AttackUseClientPacket |
AttackUseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/attack_use_client_packet.py
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | |
AdminInteractTellClientPacket
Bases: Packet
Talk to admin
Source code in src/eolib/protocol/_generated/net/client/admin_interact_tell_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
message: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_tell_client_packet.py
38 39 40 41 42 43 44 45 46 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_tell_client_packet.py
48 49 50 51 52 53 54 55 56 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_tell_client_packet.py
58 59 60 61 62 63 64 65 | |
serialize(writer, data)
staticmethod
Serializes an instance of AdminInteractTellClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
AdminInteractTellClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_tell_client_packet.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
deserialize(reader)
staticmethod
Deserializes an instance of AdminInteractTellClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
AdminInteractTellClientPacket |
AdminInteractTellClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_tell_client_packet.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
AdminInteractReportClientPacket
Bases: Packet
Report character
Source code in src/eolib/protocol/_generated/net/client/admin_interact_report_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
reportee: str
property
writable
message: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_report_client_packet.py
47 48 49 50 51 52 53 54 55 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_report_client_packet.py
57 58 59 60 61 62 63 64 65 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_report_client_packet.py
67 68 69 70 71 72 73 74 | |
serialize(writer, data)
staticmethod
Serializes an instance of AdminInteractReportClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
AdminInteractReportClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_report_client_packet.py
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of AdminInteractReportClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
AdminInteractReportClientPacket |
AdminInteractReportClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_report_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
AccountRequestClientPacket
Bases: Packet
Request creating an account
Source code in src/eolib/protocol/_generated/net/client/account_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
username: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/account_request_client_packet.py
38 39 40 41 42 43 44 45 46 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/account_request_client_packet.py
48 49 50 51 52 53 54 55 56 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/account_request_client_packet.py
58 59 60 61 62 63 64 65 | |
serialize(writer, data)
staticmethod
Serializes an instance of AccountRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
AccountRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/account_request_client_packet.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | |
deserialize(reader)
staticmethod
Deserializes an instance of AccountRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
AccountRequestClientPacket |
AccountRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/account_request_client_packet.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
AccountCreateClientPacket
Bases: Packet
Confirm creating an account
Source code in src/eolib/protocol/_generated/net/client/account_create_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
writable
Note
- Value range is 0-64008.
username: str
property
writable
password: str
property
writable
full_name: str
property
writable
location: str
property
writable
email: str
property
writable
computer: str
property
writable
hdid: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/account_create_client_packet.py
109 110 111 112 113 114 115 116 117 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/account_create_client_packet.py
119 120 121 122 123 124 125 126 127 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/account_create_client_packet.py
129 130 131 132 133 134 135 136 | |
serialize(writer, data)
staticmethod
Serializes an instance of AccountCreateClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
AccountCreateClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/account_create_client_packet.py
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 | |
deserialize(reader)
staticmethod
Deserializes an instance of AccountCreateClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
AccountCreateClientPacket |
AccountCreateClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/account_create_client_packet.py
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 | |
PacketFamily
Bases: IntEnum
The type of operation that a packet performs. Part of the unique packet ID.
Source code in src/eolib/protocol/_generated/net/packet_family.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | |
Connection = 1
class-attribute
instance-attribute
Account = 2
class-attribute
instance-attribute
Character = 3
class-attribute
instance-attribute
Login = 4
class-attribute
instance-attribute
Welcome = 5
class-attribute
instance-attribute
Walk = 6
class-attribute
instance-attribute
Face = 7
class-attribute
instance-attribute
Chair = 8
class-attribute
instance-attribute
Emote = 9
class-attribute
instance-attribute
Attack = 11
class-attribute
instance-attribute
Spell = 12
class-attribute
instance-attribute
Shop = 13
class-attribute
instance-attribute
Item = 14
class-attribute
instance-attribute
StatSkill = 16
class-attribute
instance-attribute
Global = 17
class-attribute
instance-attribute
Talk = 18
class-attribute
instance-attribute
Warp = 19
class-attribute
instance-attribute
Jukebox = 21
class-attribute
instance-attribute
Players = 22
class-attribute
instance-attribute
Avatar = 23
class-attribute
instance-attribute
Party = 24
class-attribute
instance-attribute
Refresh = 25
class-attribute
instance-attribute
Npc = 26
class-attribute
instance-attribute
PlayerRange = 27
class-attribute
instance-attribute
NpcRange = 28
class-attribute
instance-attribute
Range = 29
class-attribute
instance-attribute
Paperdoll = 30
class-attribute
instance-attribute
Effect = 31
class-attribute
instance-attribute
Trade = 32
class-attribute
instance-attribute
Chest = 33
class-attribute
instance-attribute
Door = 34
class-attribute
instance-attribute
Message = 35
class-attribute
instance-attribute
Bank = 36
class-attribute
instance-attribute
Locker = 37
class-attribute
instance-attribute
Barber = 38
class-attribute
instance-attribute
Guild = 39
class-attribute
instance-attribute
Music = 40
class-attribute
instance-attribute
Sit = 41
class-attribute
instance-attribute
Recover = 42
class-attribute
instance-attribute
Board = 43
class-attribute
instance-attribute
Cast = 44
class-attribute
instance-attribute
Arena = 45
class-attribute
instance-attribute
Priest = 46
class-attribute
instance-attribute
Marriage = 47
class-attribute
instance-attribute
AdminInteract = 48
class-attribute
instance-attribute
Citizen = 49
class-attribute
instance-attribute
Quest = 50
class-attribute
instance-attribute
Book = 51
class-attribute
instance-attribute
Error = 250
class-attribute
instance-attribute
Init = 255
class-attribute
instance-attribute
PacketAction
Bases: IntEnum
The specific action that a packet performs. Part of the unique packet ID.
Source code in src/eolib/protocol/_generated/net/packet_action.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | |
Request = 1
class-attribute
instance-attribute
Accept = 2
class-attribute
instance-attribute
Reply = 3
class-attribute
instance-attribute
Remove = 4
class-attribute
instance-attribute
Agree = 5
class-attribute
instance-attribute
Create = 6
class-attribute
instance-attribute
Add = 7
class-attribute
instance-attribute
Player = 8
class-attribute
instance-attribute
Take = 9
class-attribute
instance-attribute
Use = 10
class-attribute
instance-attribute
Buy = 11
class-attribute
instance-attribute
Sell = 12
class-attribute
instance-attribute
Open = 13
class-attribute
instance-attribute
Close = 14
class-attribute
instance-attribute
Msg = 15
class-attribute
instance-attribute
Spec = 16
class-attribute
instance-attribute
Admin = 17
class-attribute
instance-attribute
List = 18
class-attribute
instance-attribute
Tell = 20
class-attribute
instance-attribute
Report = 21
class-attribute
instance-attribute
Announce = 22
class-attribute
instance-attribute
Server = 23
class-attribute
instance-attribute
Drop = 24
class-attribute
instance-attribute
Junk = 25
class-attribute
instance-attribute
Obtain = 26
class-attribute
instance-attribute
Get = 27
class-attribute
instance-attribute
Kick = 28
class-attribute
instance-attribute
Rank = 29
class-attribute
instance-attribute
TargetSelf = 30
class-attribute
instance-attribute
TargetOther = 31
class-attribute
instance-attribute
TargetGroup = 33
class-attribute
instance-attribute
Dialog = 34
class-attribute
instance-attribute
Ping = 240
class-attribute
instance-attribute
Pong = 241
class-attribute
instance-attribute
Net242 = 242
class-attribute
instance-attribute
Net243 = 243
class-attribute
instance-attribute
Net244 = 244
class-attribute
instance-attribute
Error = 250
class-attribute
instance-attribute
Init = 255
class-attribute
instance-attribute
SerializationError
Bases: Exception
Represents an error in serializing a protocol data structure.
Source code in src/eolib/protocol/serialization_error.py
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
__init__(message)
Constructs a SerializationError with the specified error message.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
message |
str
|
The error message. |
required |
Source code in src/eolib/protocol/serialization_error.py
6 7 8 9 10 11 12 13 | |
Packet
Bases: ABC
Object representation of a packet in the EO network protocol.
Source code in src/eolib/protocol/net/packet.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | |
family()
abstractmethod
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/net/packet.py
13 14 15 16 17 18 19 20 21 22 | |
action()
abstractmethod
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/net/packet.py
24 25 26 27 28 29 30 31 32 33 | |
write(writer)
abstractmethod
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/net/packet.py
35 36 37 38 39 40 41 42 43 | |
EoWriter
Source code in src/eolib/data/eo_writer.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 | |
data = bytearray()
instance-attribute
string_sanitization_mode: bool
property
writable
Gets the string sanitization mode for the writer.
Returns:
| Name | Type | Description |
|---|---|---|
bool |
bool
|
True if string sanitization is enabled. |
__init__()
Source code in src/eolib/data/eo_writer.py
7 8 9 | |
add_byte(value)
Adds a raw byte to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
value |
int
|
The byte to add. |
required |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the value is above |
Source code in src/eolib/data/eo_writer.py
11 12 13 14 15 16 17 18 19 20 21 22 | |
add_bytes(bytes)
Adds raw bytes to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
bytes |
bytes
|
The bytes to add. |
required |
Source code in src/eolib/data/eo_writer.py
24 25 26 27 28 29 30 31 | |
add_char(number)
Adds an encoded 1-byte integer to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
number |
int
|
The number to encode and add. |
required |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the value is not below |
Source code in src/eolib/data/eo_writer.py
33 34 35 36 37 38 39 40 41 42 43 44 45 | |
add_short(number)
Adds an encoded 2-byte integer to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
number |
int
|
The number to encode and add. |
required |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the value is not below |
Source code in src/eolib/data/eo_writer.py
47 48 49 50 51 52 53 54 55 56 57 58 59 | |
add_three(number)
Adds an encoded 3-byte integer to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
number |
int
|
The number to encode and add. |
required |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the value is not below |
Source code in src/eolib/data/eo_writer.py
61 62 63 64 65 66 67 68 69 70 71 72 73 | |
add_int(number)
Adds an encoded 4-byte integer to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
number |
int
|
The number to encode and add. |
required |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the value is not below |
Source code in src/eolib/data/eo_writer.py
75 76 77 78 79 80 81 82 83 84 85 86 87 | |
add_string(string)
Adds a string to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
string |
str
|
The string to be added. |
required |
Source code in src/eolib/data/eo_writer.py
89 90 91 92 93 94 95 96 97 98 | |
add_fixed_string(string, length, padded=False)
Adds a fixed-length string to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
string |
str
|
The string to be added. |
required |
length |
int
|
The expected length of the string. |
required |
padded |
bool
|
True if the string should be padded to the length with
trailing |
False
|
Source code in src/eolib/data/eo_writer.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | |
add_encoded_string(string)
Adds an encoded string to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
string |
str
|
The string to be encoded and added. |
required |
Source code in src/eolib/data/eo_writer.py
117 118 119 120 121 122 123 124 125 126 127 | |
add_fixed_encoded_string(string, length, padded=False)
Adds a fixed-length encoded string to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
string |
str
|
The string to be encoded and added. |
required |
length |
int
|
The expected length of the string. |
required |
padded |
bool
|
True if the string should be padded to the length with
trailing |
False
|
Source code in src/eolib/data/eo_writer.py
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | |
to_bytearray()
Gets the writer data as a byte array.
Returns:
| Name | Type | Description |
|---|---|---|
bytearray |
bytearray
|
A copy of the writer data as a byte array. |
Source code in src/eolib/data/eo_writer.py
161 162 163 164 165 166 167 168 | |
__len__()
Gets the length of the writer data.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The length of the writer data. |
Source code in src/eolib/data/eo_writer.py
170 171 172 173 174 175 176 177 | |
EoReader
Bases: object
A class for reading EO data from a sequence of bytes.
EoReader features a chunked reading mode, which is important for accurate emulation of
the official game client.
See documentation for chunked reading: https://github.com/Cirras/eo-protocol/blob/master/docs/chunks.md
Source code in src/eolib/data/eo_reader.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 | |
chunked_reading_mode: bool
property
writable
bool: Gets or sets the chunked reading mode for the reader.
In chunked reading mode:
- The reader will treat 0xFF bytes as the end of the current chunk.
- next_chunk() can be called to move to the next chunk.
remaining: int
property
If chunked reading mode is enabled, gets the number of bytes remaining in the current
chunk. Otherwise, gets the total number of bytes remaining in the input data.
position: int
property
int: Gets the current position in the input data.
__init__(data)
Creates a new EoReader instance for the specified data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data |
bytes
|
The byte array containing the input data. |
required |
Source code in src/eolib/data/eo_reader.py
23 24 25 26 27 28 29 30 31 32 33 34 | |
slice(index=None, length=None)
Creates a new EoReader whose input data is a shared subsequence of this reader's
data.
The input data of the new reader will start at position index in this reader and contain
up to length bytes. The two reader's position and chunked reading mode will be
independent.
The new reader's position will be zero, and its chunked reading mode will be false.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
index |
int
|
The position in this reader at which the data of the new reader will start; must be non-negative. Defaults to the current reader position. |
None
|
length |
int
|
The length of the shared subsequence of data to supply to the
new reader; must be non-negative. Defaults to the length of the remaining data
starting from |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
EoReader |
EoReader
|
The new reader. |
Raises:
| Type | Description |
|---|---|
ValueError
|
If |
Source code in src/eolib/data/eo_reader.py
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | |
get_byte()
Reads a raw byte from the input data.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
A raw byte. |
Source code in src/eolib/data/eo_reader.py
76 77 78 79 80 81 82 83 | |
get_bytes(length)
Reads an array of raw bytes from the input data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
length |
int
|
The number of bytes to read. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
bytearray |
bytearray
|
An array of raw bytes. |
Source code in src/eolib/data/eo_reader.py
85 86 87 88 89 90 91 92 93 94 95 | |
get_char()
Reads an encoded 1-byte integer from the input data.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
A decoded 1-byte integer. |
Source code in src/eolib/data/eo_reader.py
97 98 99 100 101 102 103 104 | |
get_short()
Reads an encoded 2-byte integer from the input data.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
A decoded 2-byte integer. |
Source code in src/eolib/data/eo_reader.py
106 107 108 109 110 111 112 113 | |
get_three()
Reads an encoded 3-byte integer from the input data.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
A decoded 3-byte integer. |
Source code in src/eolib/data/eo_reader.py
115 116 117 118 119 120 121 122 | |
get_int()
Reads an encoded 4-byte integer from the input data.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
A decoded 4-byte integer. |
Source code in src/eolib/data/eo_reader.py
124 125 126 127 128 129 130 131 | |
get_string()
Reads a string from the input data.
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
A string. |
Source code in src/eolib/data/eo_reader.py
133 134 135 136 137 138 139 140 141 | |
get_fixed_string(length, padded=False)
Reads a string with a fixed length from the input data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
length |
int
|
The length of the string. |
required |
padded |
bool
|
True if the string is padded with trailing |
False
|
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
A decoded string. |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the length is negative. |
Source code in src/eolib/data/eo_reader.py
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | |
get_encoded_string()
Reads an encoded string from the input data.
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
A decoded string. |
Source code in src/eolib/data/eo_reader.py
164 165 166 167 168 169 170 171 172 173 | |
get_fixed_encoded_string(length, padded=False)
Reads an encoded string with a fixed length from the input data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
length |
int
|
The length of the string. |
required |
padded |
bool
|
True if the string is padded with trailing |
False
|
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
A decoded string. |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the length is negative. |
Source code in src/eolib/data/eo_reader.py
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 | |
next_chunk()
Moves the reader position to the start of the next chunk in the input data.
Raises:
| Type | Description |
|---|---|
RuntimeError
|
If not in chunked reading mode. |
Source code in src/eolib/data/eo_reader.py
225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 | |
AccountAgreeClientPacket
Bases: Packet
Change password
Source code in src/eolib/protocol/_generated/net/client/account_agree_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
username: str
property
writable
old_password: str
property
writable
new_password: str
property
writable
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/account_agree_client_packet.py
56 57 58 59 60 61 62 63 64 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/account_agree_client_packet.py
66 67 68 69 70 71 72 73 74 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/account_agree_client_packet.py
76 77 78 79 80 81 82 83 | |
serialize(writer, data)
staticmethod
Serializes an instance of AccountAgreeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
AccountAgreeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/account_agree_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
deserialize(reader)
staticmethod
Deserializes an instance of AccountAgreeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
AccountAgreeClientPacket |
AccountAgreeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/account_agree_client_packet.py
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | |